.home_head {
  position: relative;
}

.home_category {
  width: 250px;
  height: 500px;
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 0px;
  z-index: 99;
}

.home_category .menu li {
  padding-left: 40px;
  height: 50px;
  line-height: 50px;
}

.home_category .menu li:hover, .home_category .menu li.active {
  background-color: #27ba9b;
}

.home_category .menu li a {
  margin-right: 4px;
  color: #fff;
}

.home_category .layer {
  width: 990px;
  height: 500px;
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  left: 250px;
  top: 0;
  display: none;
  padding: 0 15px;
}

.home_category .layer h4 {
  font-size: 15px;
  font-weight: normal;
  line-height: 80px;
}

.home_category .layer h4 small {
  font-size: 13px;
  color: #666;
}

.home_category .layer ul {
  display: flex;
  flex-wrap: wrap;
}

.home_category .layer ul li {
  width: 310px;
  height: 120px;
  margin-right: 15px;
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fff;
}

.home_category .layer ul li:nth-child(3n) {
  margin-right: 0;
}

.home_category .layer ul li a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  padding: 5px;
}

.home_category .layer ul li a:hover {
  background: #e3f9f4;
}

.home_category .layer ul li a img {
  width: 95px;
  height: 95px;
}

.home_category .layer ul li a .info {
  padding-left: 10px;
  line-height: 24px;
  width: 190px;
}

.home_category .layer ul li a .info .name {
  font-size: 15px;
  color: #666;
}

.home_category .layer ul li a .info .desc {
  color: #999;
}

.home_category .layer ul li a .info .price {
  font-size: 15px;
}

.home_category .layer ul li a .info .price i {
  font-size: 14px;
}

.home_category .layer ul li.brand {
  height: 180px;
}

.home_category .layer ul li.brand a {
  align-items: flex-start;
}

.home_category .layer ul li.brand a img {
  width: 120px;
  height: 160px;
}

.home_category .layer ul li.brand a .info p {
  margin-top: 4px;
}

.home_category .layer ul li.brand a .info .place {
  color: #999;
}

.home_category:hover .layer {
  display: block;
}

.xtx-skeleton {
  animation: fade 1s linear infinite alternate;
}

@keyframes fade {
  from {
    opacity: 0.2;
  }
  to {
    opacity: 1;
  }
}
